package w4156.idog.exception;


import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.IsSerializable;

public class DBexception extends RuntimeException implements IsSerializable {

	private static final long serialVersionUID = 9153834623273356243L;
	private String message;

	public DBexception() {
	}

	public DBexception(String message) {
		super(message);
		this.message = message;
		GWT.log(message, this);
	}

	public String getMessage() {
		return message;
	}
}
